<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!-- 
	静态资源文件.css，.js和图片的代码路径可能会报错，
	错误一般是Failed to load resource: the server responded with a status of 404 ()，
	404错误基本上都是路径问题，
	但是一般登录进去系统后重新退出就没事了
	
	本次课程设计并不完美，有个别地方可能会有bug，
	如果遇到bug请找完成本次课程设计的陈梓锋。
	还有就是数据库方面的问题，我已经将tallyform和user这两个数据库表打包在doc文件，
	你可以把.sql文件拖到桌面双击运行，前提是你已经配置好数据库相关的环境和相关软件，
	数据库软件我用的是HeidiSQL，请自行到官网下载。
	里面有我对本次课程设计的各方面功能的介绍。
	
 -->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户登录</title>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>广州城市理工学院</title>
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="icon" type="image/png" href="assets/i/index.ico">
    <link rel="apple-touch-icon-precomposed" href="assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <link rel="stylesheet" href="assets/css/amazeui.min.css" />
    <link rel="stylesheet" href="assets/css/amazeui.datatables.min.css" />
    <link rel="stylesheet" href="assets/css/app.css">
    <link rel="stylesheet" href="assets/css/newcss.css" />
    <script src="assets/js/jquery.min.js"></script>
	<link
	href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
	rel="stylesheet">
</head>

<body data-type="login" style=" background: url(assets/img/6.jpg) center center / cover no-repeat fixed;">
    <script src="assets/js/theme.js"></script>
    <div class="am-g tpl-g">
        <!-- 风格切换 -->
        <div class="tpl-skiner">
            <div class="tpl-skiner-toggle am-icon-cog">
            </div>
            <div class="tpl-skiner-content">
                <div class="tpl-skiner-content-title">
                    选择主题
                </div>
                <div class="tpl-skiner-content-bar">
                    <span class="skiner-color skiner-white" data-color="theme-white"></span>
                    <span class="skiner-color skiner-black" data-color="theme-black"></span>
                </div>
            </div>
        </div>
        <div class="tpl-login">
            <div class="tpl-login-content" style="background: rgba(0,0,0,0.4);box-shadow: 0 4px 8px 6px rgba(7,17,27,0.06);">
                <div class="tpl-login-title">
                	<h2 style="color: white;">个人记账系统</h2>
                </div>
                <form action="dologin2Serlvet" method="post" class="am-form tpl-form-line-form">
                    <div class="am-form-group">
                        <input type="text" class="tpl-form-input" id="number01" name="number" placeholder="请输入学号"  style="color: white;  font-size: 20px;">
                    </div>
                    <div class="am-form-group">
                        <input type="password" class="tpl-form-input" id="password01" name="password" placeholder="请输入密码"  style="color: white;  font-size: 20px;">
                    </div>
                    <div class="am-form-group">
                        <input type="text" class="tpl-form-input" id="imgtext" name="checkcode" placeholder="请输入验证码"  style="color: white;  font-size: 20px;">
                        <img id="checkCode" alt="验证码" src="imageServlet" onclick="changeCheckCode(this)"/>
                        <span class="tpl-login-remember-me" style="font-weight: 700">${error02==null?'':error02}</span>
                    </div>
                    <div class="am-form-group tpl-login-remember-me">
                        <input id="remember-me" type="checkbox">
                        <label for="remember-me"> 记住密码</label>
                    </div>
                    <div align="center">${error01==null?'':error01}</div>
                    <div class="am-form-group">
                        <button type="submit" class="am-btn am-btn-primary  am-btn-block tpl-btn-bg-color-success  tpl-login-btn">登录</button>
                    </div>
                    	<a href="login.jsp"><span class="fa-user"></span>用户名登录</a>
                    	<a href="register.jsp" style="float: right;"><span class="fa-user-plus"></span>注册</a>
                    
                          
                </form>
            </div>
        </div>
    </div>
    <script src="assets/js/amazeui.min.js"></script>
    <script src="assets/js/app.js"></script>
    	<script type="text/javascript">
            //图片点击事件
            function changeCheckCode(img) {
                img.src="imageServlet?"+new Date().getTime();
            }
        </script>


</body>

</html>